package com.xlro.service;

import com.xlro.dao.MessageBoardDao;

public class MessageBoardService {
    MessageBoardDao messageBoardDao = new MessageBoardDao();

    public String add(String username, String type, String title, String desc, String phone) {
        return messageBoardDao.insert(username,type, title, desc, phone)>0?"提交成功":"提交失败";
    }
}
